import request from '@/utils/request'

const api_name = '/product/spuinfo/'

export default {

    createSpu(spu) {
        return request({
            url: `${api_name}/create`,
            method: 'post', 
            data: spu
        })
    },

    getDataList(params) {
        return request({
          url: `${api_name}/page`,
          method:'get',
          params: params
        })
    },
}